package org.com.f4.dao.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.com.f4.po.Winery;
import org.com.f4.po.WineryExample;

public interface WineryMapper {
    int countByExample(WineryExample example);

    int deleteByExample(WineryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Winery record);

    int insertSelective(Winery record);

    List<Winery> selectByExample(WineryExample example);

    Winery selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Winery record, @Param("example") WineryExample example);

    int updateByExample(@Param("record") Winery record, @Param("example") WineryExample example);

    int updateByPrimaryKeySelective(Winery record);

    int updateByPrimaryKey(Winery record);
}